.luz-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(47, 128, 237, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: #071a44;
    font-family: Arial, Helvetica, sans-serif;
}

.luz-hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 64px 20px 48px;
}

.luz-title {
    max-width: 1100px;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.95;
    text-align: center;
    margin: 0 0 34px;
    color: #071a44;
}

.luz-search-box {
    width: min(760px, 100%);
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 10px 12px 10px 24px;
    border: 1px solid rgba(47, 128, 237, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);

    box-shadow: 0 20px 50px rgba(7, 26, 68, 0.10);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.luz-search-box:hover,
.luz-search-box:focus-within {
    border-color: rgba(47, 128, 237, 0.32);
    box-shadow: 0 24px 60px rgba(7, 26, 68, 0.14);
}

.luz-input,
.luz-input:focus,
.luz-input:focus-visible,
.luz-input:active {
    flex: 1;
    min-width: 0;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;

    font-size: 1.1rem;
    padding: 12px 18px;
    color: #071a44;
}

/* Elimina las flechas del input number en Chrome, Edge y Safari */
.luz-input::-webkit-outer-spin-button,
.luz-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Elimina las flechas del input number en Firefox */
.luz-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.luz-button {
    border-radius: 999px;
    padding: 14px 32px;
    border: none;

    background: linear-gradient(90deg, #2f80ed, #28c78f);
    color: #fff;

    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;

    box-shadow: 0 14px 28px rgba(47, 128, 237, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.luz-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(47, 128, 237, 0.35);
    filter: brightness(1.04);
}

.luz-button:active {
    transform: translateY(0);
}

.luz-results {
    width: min(980px, 100%);
    margin-top: 42px;
}

.luz-warning {
    text-align: center;
    color: #d64545;
    font-size: 0.95rem;
    font-weight: 700;
}

.luz-card {
    border: 1px solid rgba(47, 128, 237, 0.16);
    border-radius: 32px;
    padding: 32px 34px;

    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(7, 26, 68, 0.10);
    backdrop-filter: blur(10px);
}

.luz-card-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    margin-bottom: 26px;
    color: #071a44;
}

.luz-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    font-size: 0.98rem;
}

.luz-table th {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #6b7894;
    padding: 10px 14px;
    border-bottom: none;
}

.luz-table td {
    padding: 18px 14px;
    border-bottom: none;

    background: #ffffff;
    color: #071a44;
    box-shadow: 0 8px 24px rgba(7, 26, 68, 0.06);
}

.luz-table tbody tr {
    transition: transform 0.18s ease;
}

.luz-table tbody tr:hover {
    transform: translateY(-2px);
}

.luz-table tbody tr td:first-child {
    border-radius: 18px 0 0 18px;
    font-weight: 800;
}

.luz-table tbody tr td:last-child {
    border-radius: 0 18px 18px 0;
}

.luz-link-button {
    display: inline-block;
    padding: 10px 18px;

    border-radius: 999px;
    background: linear-gradient(90deg, #2f80ed, #28c78f);
    color: #fff !important;

    text-decoration: none;
    font-weight: 800;

    box-shadow: 0 10px 22px rgba(47, 128, 237, 0.22);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.luz-link-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(47, 128, 237, 0.28);
}

.luz-aviso-calculo {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #5b6b84;
    line-height: 1.5;
    text-align: center;
}

.luz-ahorro-positivo {
    color: #16a36c !important;
    font-weight: 900;
}

.luz-ahorro-negativo {
    color: #d64545 !important;
    font-weight: 900;
}

.luz-search-wrapper {
    width: min(760px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.luz-advanced-toggle {
    margin-top: 14px;
    border: none;
    background: transparent !important;
    color: #2f80ed !important;
    font-weight: 800;
    box-shadow: none !important;
    padding: 6px 12px;
}

.luz-advanced-toggle:hover {
    color: #28c78f !important;
}

.luz-advanced-box {
    width: 100%;
    margin-top: 14px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(47, 128, 237, 0.18);
    box-shadow: 0 16px 42px rgba(7, 26, 68, 0.08);
}

.luz-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.luz-advanced-input,
.luz-advanced-input:focus,
.luz-advanced-input:focus-visible {
    border-radius: 999px;
    border: 1px solid rgba(47, 128, 237, 0.22) !important;
    box-shadow: none !important;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #071a44;
}

.luz-advanced-help {
    margin: 14px 0 0;
    text-align: center;
    color: #5b6b84;
    font-size: 0.88rem;
    line-height: 1.45;
}

.luz-advanced-input::-webkit-outer-spin-button,
.luz-advanced-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.luz-advanced-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.luz-logo {
    max-width: 520px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 28px auto;
}


@media (max-width: 640px) {
    .luz-hero {
        min-height: auto;
        padding: 46px 16px 32px;
    }

    .luz-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -0.055em;
    }

    .luz-search-box {
        flex-direction: column;
        border-radius: 28px;
        padding: 16px;
    }

    .luz-input {
        width: 100%;
        text-align: center;
    }

    .luz-button {
        width: 100%;
    }

    .luz-card {
        padding: 22px;
        overflow-x: auto;
    }

    .luz-table {
        min-width: 720px;
    }

    .luz-advanced-grid {
        grid-template-columns: 1fr;
    }
}